package dev.ece.suit.loader.models.ms3d;

import java.io.IOException;

import dev.ece.util.io.LittleEndianInputStream;

/**
 * 文件头信息
 * @author 飘渺青衣
 * <b>E-mail：</b>3375758@qq.com
 */
public class MS3DHeader {

	private String id;
	
	private int version;
	
	private MS3DHeader() {}
	
	public static MS3DHeader load(LittleEndianInputStream is) throws IOException {
		MS3DHeader header = new MS3DHeader();
		header.id = is.readString(10);
		header.version = is.readInt();
		return header;
	}

	public String getId() {
		return id;
	}

	public int getVersion() {
		return version;
	}
	
	
}
